package net.sk.china.city.talk.service.wechat;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * WechatMediaService
 * +----------------------------------------------------------------------
 * | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2018-2024 聊来All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * +----------------------------------------------------------------------
 * | @Author: 聊来 <18970881148@qq.com>
 * +----------------------------------------------------------------------
 * | DateTime: 2024/6/2 22:11
 * +----------------------------------------------------------------------
 */
public interface WechatMediaService {

    /**
     * 微信上传素材
     * @param file 文件
     * @param type 类型
     * @return {@code Map}
     */
    Map<String, String> upload(MultipartFile file, String type);
}
